<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<input type="text" name="uesr1" id="uesr11" value="1" />
		<input type="text" name="uesr2" id="uesr12" value="2" />
		<input type="text" name="uesr3" id="uesr13" value="3" />
		<input type="radio" name="" id="" value="男" />男
		<input type="radio" name="" id="" value="女" />女
		<div id="div1">div1层</div>
		<div id="div2">div2层</div>
		<div id="div3">div3层</div>
		<script type="text/javascript">
			//获取ID名第一个元素
			var div1 = document.getElementById("div1");
			//标签之间的内容
			div1.innerHTML="<h2>div1</h2>"
//			div1.innerText = "<h1>div1</h1>";


			var uesr1=document.getElementsByName("uesr1")
//			console.log(uesr1)
			uesr1[0].value="112233"
			uesr1[0].value="112233"
			uesr1[0].value="112233"
			
			var input=document.getElementsByTagName("input")
//			console.log(input)
			input[1].value="112233";
			input[2].value="112233";
		</script>
	</body>

</html>